import React from "react"
import './index.scss'
import Rate from "../../Rate"
export default ()=>{
        return <div className='buy-rating-item'>
                <div className="title">
                        <div className="label">合同号:</div>
                        <div className="text">400404040404040</div>
                </div>
                <div className="content">
                        <div className="line">
                                <div className="name">
                                        <span className="tag">供</span>
                                        <span className="text">王大锤特制香料</span>
                                </div>
                                <div className="price">￥2000/克</div>
                        </div>
                        <div className="line">
                                <div className="inline-block-item">
                                        <div className="label">数量</div>
                                        <div className="text">3000吨</div>
                                </div>
                                <div className="inline-block-item">
                                        <div className="label">交货地</div>
                                        <div className="text">艾泽拉斯 奥格瑞姆</div>
                                </div>
                        </div>
                        <div className="line">
                                <div className="inline-block-item">
                                        <div className="label">要求</div>
                                        <div className="text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Beatae, dolores sequi. Id neque nobis quaerat similique vero. Accusamus commodi cupiditate dolore id illum officiis optio quisquam sequi voluptatum. Minus, ullam.</div>
                                </div>
                        </div>
                        <div className="btn-wrapper">
                                <div className="btn yellow">查看合同</div>
                        </div>
                </div>
                <div className="rating">
                        <div className="title">我的评论</div>
                        <div className="line">
                                <div className="rate-container"><Rate type='small' count={6}/></div>
                                <div className="time">2018.09.23 12:23</div>
                        </div>
                        <div className="text">
                                Lorem ipsum dolor sit amet, consectetur adipisicing elit. A amet commodi cupiditate eius est expedita facere facilis ipsam ipsum itaque laborum laudantium nesciunt nisi officia quos, repudiandae vel voluptatum. Dignissimos?
                        </div>
                        <div className="delete">
                                <div className="delete-handle">删除</div>
                        </div>
                </div>
                <div className="handle">
                        <div className="btn">查看合同</div>
                        <div className="btn yellow">写评论</div>
                </div>
        </div>
}
